<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class UserRelease extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'user_release';
    protected $guarded = [];

    public function region()
    {
        return $this->belongsTo('App\Models\Cities','region');
    }

    public function city()
    {
        return $this->belongsTo('App\Models\Cities','city');
    }

    public function province()
    {
        return $this->belongsTo('App\Models\Cities','province');
    }

}
